﻿using System;
using System.Collections;


/**
 * 作者：陈杰
 * QQ  : 710782046
 * Email:ovenjackchain@gmail.com
 * Web :http://www.qidian10.com
 */ 
namespace Model
{
   public class newitem
   {
      #region 构造函数
      public newitem()
      {}

      public newitem(string it_code,string it_name,string it_ime,string byname,string unit,string connotation,string exceptions,string explain,string price,string add_flag,string hos_level,string logout,string acc_code,string price_max,string price_min,string safe_class,string safe_percent)
      {
         
		this._it_code = it_code;
		this._it_name = it_name;
		this._it_ime = it_ime;
		this._byname = byname;
		this._unit = unit;
		this._connotation = connotation;
		this._exceptions = exceptions;
		this._explain = explain;
		this._price = price;
		this._add_flag = add_flag;
		this._hos_level = hos_level;
		this._logout = logout;
		this._acc_code = acc_code;
		this._price_max = price_max;
		this._price_min = price_min;
		this._safe_class = safe_class;
		this._safe_percent = safe_percent;

      }
      #endregion

      #region 成员
      
		private string _it_code;
		private string _it_name;
		private string _it_ime;
		private string _byname;
		private string _unit;
		private string _connotation;
		private string _exceptions;
		private string _explain;
		private string _price;
		private string _add_flag;
		private string _hos_level;
		private string _logout;
		private string _acc_code;
		private string _price_max;
		private string _price_min;
		private string _safe_class;
		private string _safe_percent;

      #endregion


      #region 属性
      
		public string it_code
		{
			get { return _it_code ; }
			set { _it_code = value ; }
		}

		public string it_name
		{
			get { return _it_name ; }
			set { _it_name = value ; }
		}

		public string it_ime
		{
			get { return _it_ime ; }
			set { _it_ime = value ; }
		}

		public string byname
		{
			get { return _byname ; }
			set { _byname = value ; }
		}

		public string unit
		{
			get { return _unit ; }
			set { _unit = value ; }
		}

		public string connotation
		{
			get { return _connotation ; }
			set { _connotation = value ; }
		}

		public string exceptions
		{
			get { return _exceptions ; }
			set { _exceptions = value ; }
		}

		public string explain
		{
			get { return _explain ; }
			set { _explain = value ; }
		}

		public string price
		{
			get { return _price ; }
			set { _price = value ; }
		}

		public string add_flag
		{
			get { return _add_flag ; }
			set { _add_flag = value ; }
		}

		public string hos_level
		{
			get { return _hos_level ; }
			set { _hos_level = value ; }
		}

		public string logout
		{
			get { return _logout ; }
			set { _logout = value ; }
		}

		public string acc_code
		{
			get { return _acc_code ; }
			set { _acc_code = value ; }
		}

		public string price_max
		{
			get { return _price_max ; }
			set { _price_max = value ; }
		}

		public string price_min
		{
			get { return _price_min ; }
			set { _price_min = value ; }
		}

		public string safe_class
		{
			get { return _safe_class ; }
			set { _safe_class = value ; }
		}

		public string safe_percent
		{
			get { return _safe_percent ; }
			set { _safe_percent = value ; }
		}


      #endregion
      
      #region 获得自增键
      private string ReturnAutoID()
      {
          return "it_code";
      }
      #endregion
   }
}
